package com.xyht.sca_s.student_manage_system.modules.dormitory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.SmsDormitoryBuilding;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.req.SmsDormitoryBuildingAddReq;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.req.SmsDormitoryBuildingDeletedReq;
import com.xyht.sca_s.student_manage_system.modules.dormitory.entity.req.SmsDormitoryBuildingUpdateReq;

/**
 * <p>
 * 宿舍楼栋管理表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2024-01-08
 */
public interface SmsDormitoryBuildingService extends IService<SmsDormitoryBuilding> {

    ResponseResult addDormitoryBuilding(String userId, SmsDormitoryBuildingAddReq addReq);

    ResponseResult deletedDormitoryBuilding(SmsDormitoryBuildingDeletedReq deletedReq);

    ResponseResult updateDormitoryBuilding(SmsDormitoryBuildingUpdateReq updateReq);

    ResponseResult getDormitoryBuildingList(Integer pageNum, Integer pageSize, String name);
}
